#ifndef _MAKUAI_H_
#define _MAKUAI_H_

#include <STC15F2K60S2.H>

#define LED 0x80
#define RELAY 0xa0
#define NIXIE_D 0Xe0
#define NIXIE_W 0xc0

sbit key_lie_4 = P3^4;
sbit key_lie_3 = P3^5;
sbit key_lie_1 = P4^4;
sbit key_lie_2 = P4^2;

void Delay(unsigned int c);
void Latch(unsigned char p2,unsigned char p0);
unsigned char Key(void);
void Nixie(unsigned char location,unsigned char number);
unsigned char Key_time(void);

#endif